Skip to content

Integrate PA UC into unemployment compensation#8303

Open
daphnehanse11 wants to merge 1 commit into
PolicyEngine:mainfrom
daphnehanse11:codex/state-ui-income-flow-integration
Open

Integrate PA UC into unemployment compensation#8303
daphnehanse11 wants to merge 1 commit into
PolicyEngine:mainfrom
daphnehanse11:codex/state-ui-income-flow-integration

Conversation

@daphnehanse11
Copy link
Copy Markdown
Collaborator

Addresses #8301.

Summary

  • Add pa_uc to the unemployment_compensation income aggregator.
  • Add an integration test proving PA UC flows into tax unit UI, taxable UI, SPM benefits, and household benefits.
  • Keep annual income allocation out of scope; future state UI PRs can append their modeled UI variables to unemployment_compensation.adds after merge.

Tests

  • uv run python -m policyengine_core.scripts.policyengine_command test policyengine_us/tests/policy/baseline/gov/states/pa/dli/unemployment_compensation -c policyengine_us
  • uv run python -m policyengine_core.scripts.policyengine_command test policyengine_us/tests/policy/contrib/taxsim/taxsim_v11.yaml -c policyengine_us
  • uv run python -m policyengine_core.scripts.policyengine_command test policyengine_us/tests/policy/baseline/household/income/spm_unit/spm_unit_benefits.yaml -c policyengine_us
  • uv run --extra dev ruff check policyengine_us/variables/gov/states/unemployment_compensation.py
  • uv run --extra dev ruff format --check policyengine_us/variables/gov/states/unemployment_compensation.py

@codecov
Copy link
Copy Markdown

codecov Bot commented May 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (8cb60e7) to head (6198da9).
⚠️ Report is 21 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #8303   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         1    -2     
  Lines           63        10   -53     
=========================================
- Hits            63        10   -53     
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant